#include<stdio.h>
int main(void)
{  double x,y,z;
   scanf("%lf%lf",&x,&y);
   printf("x+y=%lf.\nx-y=%lf.\nx*y=%lf.\nx/y=%lf.\n",x+y,x-y,x*y,x/y);
   int a=(int)x;
   int b=(int)y;
   int c=(int)z;
   c=a%b;
   printf("c=%d",c);
   
   return 0;		   
  
}
